package ${packageName}.${dtoPath};
import lombok.*;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

/**
* @Desprition TODO
* @author ${author}
* @since ${(.now)?string('yyyy-MM-dd HH:mm:ss')}
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Builder
public class ${beanName?cap_first}DTO {
<#list fileds as param>
    <#if (param.columnComment)=="">
    <#else>
    /**
    *${param.columnComment}
    */
    </#if>
    <#if param.isNullable=="NO">
    @NotBlank(message = "${param.columnComment}不能为空")
    @ApiModelProperty(name="${param.javaColumnName}",value="${param.columnComment}",required=true,example = "JD")
    </#if>
    <#if param.isNullable=="YES">
    @ApiModelProperty(name="${param.javaColumnName}",value="${param.columnComment}",required=false,example = "JD")
    </#if>
    private ${param.dataType} ${param.javaColumnName};

</#list>

}